import java.util.Scanner;

/**
 * @author YuanBinbing
 * 输入一个数用ｉｆ判断成绩的等级
 */
public class Task07_02 {
    public static void main(String[] args) {
        System.out.println("请输入你的成绩");
        Scanner scanner = new Scanner(System.in);
        int score = scanner.nextInt();

        if (100 > score && score > 90) {
            System.out.println("优秀");
        }
        else if(89 > score && score > 80){
            System.out.println("良好");
        }
        else if(79> score && score > 70){
            System.out.println("中等");
        }
        else if(69 > score && score > 60){
            System.out.println("及格");
        }
        else if( score < 59){
            System.out.println("不及格");
        }
    }
}
